package me.zhengjie.modules.workorder.service.dto;

import lombok.Data;
import me.zhengjie.modules.workorder.domain.TAccident;
import me.zhengjie.modules.workorder.domain.TTasks;
import me.zhengjie.modules.workorder.domain.TWorkOrder;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import javax.persistence.Column;
import java.io.Serializable;


/**
* @author zcw
* @date 2019-08-10
*/
@Data
public class TAccidentDTO implements Serializable {

	private static final long serialVersionUID = 7406611641988550457L;

	private Long id;

    // 客户标识
    private Long customerId;

    // 客户名称
    private String customerName;

    // 报修设备
    private String faultDevice;
    
    // 报修设备名称
    private String faultDeviceNames;

    // 故障描述
    private String faultDesc;

    // 故障图片
    private String faultPicture;

    // 要求到场时间
    private Date reqiureTime;

    // 客户地址
    private String address;

    // 备注
    private String notes;

    // 联系人
    private String linker;

    // 联系人手机号码
    private String cellphone;

    // 录入人
    private String inputOperator;

    // 录入时间
    private Date inputTime;

    // 报修时间
    private Date reportTime;

    // 来源 1.客户app报修 2.工程师代报 3.操作人员录入
    private Integer source;

    // 状态
    private Integer state;
    
    private TAccident accident;
    
    private TTasks task;
    
    @JsonIgnoreProperties(value = { "hibernateLazyInitializer"})
    private TWorkOrder order;

    private String country;

    private String province;

    private String city;

    private String county;
}